package com.ruoyi.web.nywjzdo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电箱do数据对象 electric_box_do
 *
 * @author ruoyi
 * @date 2025-09-19
 */
public class ElectricBoxDo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 设备mac */
    @Excel(name = "设备mac")
    private String mac;

    /** 门锁输出 */
    @Excel(name = "门锁输出")
    private Long door;

    /** 加热 */
    @Excel(name = "加热")
    private Long warm;

    /** 云台 */
    @Excel(name = "云台")
    private Long steady;

    /** 照明 */
    @Excel(name = "照明")
    private Long light;

    /** 水浸 */
    @Excel(name = "水浸")
    private Long water;

    /** 烟感 */
    @Excel(name = "烟感")
    private Long smoke;

    /** 防雷器 */
    @Excel(name = "防雷器")
    private Long lightningProtection;

    /** 门禁1 */
    @Excel(name = "门禁1")
    private Long accessControlSt;

    /** 门禁1 */
    @Excel(name = "门禁1")
    private Long accessControlEd;

    /** 电池 */
    @Excel(name = "电池")
    private Long battery;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setMac(String mac)
    {
        this.mac = mac;
    }

    public String getMac()
    {
        return mac;
    }

    public void setDoor(Long door)
    {
        this.door = door;
    }

    public Long getDoor()
    {
        return door;
    }

    public void setWarm(Long warm)
    {
        this.warm = warm;
    }

    public Long getWarm()
    {
        return warm;
    }

    public void setSteady(Long steady)
    {
        this.steady = steady;
    }

    public Long getSteady()
    {
        return steady;
    }

    public void setLight(Long light)
    {
        this.light = light;
    }

    public Long getLight()
    {
        return light;
    }

    public void setWater(Long water)
    {
        this.water = water;
    }

    public Long getWater()
    {
        return water;
    }

    public void setSmoke(Long smoke)
    {
        this.smoke = smoke;
    }

    public Long getSmoke()
    {
        return smoke;
    }

    public void setLightningProtection(Long lightningProtection)
    {
        this.lightningProtection = lightningProtection;
    }

    public Long getLightningProtection()
    {
        return lightningProtection;
    }

    public void setAccessControlSt(Long accessControlSt)
    {
        this.accessControlSt = accessControlSt;
    }

    public Long getAccessControlSt()
    {
        return accessControlSt;
    }

    public void setAccessControlEd(Long accessControlEd)
    {
        this.accessControlEd = accessControlEd;
    }

    public Long getAccessControlEd()
    {
        return accessControlEd;
    }

    public void setBattery(Long battery)
    {
        this.battery = battery;
    }

    public Long getBattery()
    {
        return battery;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mac", getMac())
            .append("door", getDoor())
            .append("warm", getWarm())
            .append("steady", getSteady())
            .append("light", getLight())
            .append("water", getWater())
            .append("smoke", getSmoke())
            .append("lightningProtection", getLightningProtection())
            .append("accessControlSt", getAccessControlSt())
            .append("accessControlEd", getAccessControlEd())
            .append("battery", getBattery())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
